import express from "express";

// 用户类控制器
import Job from "../controller/job";
const jobController = new Job();

const Router = express.Router();

Router.get("/list", jobController.list)
  .get("/check", jobController.check)
  .get("/remove", jobController.remove)
  .post("/add", jobController.add)
  .post("/finish", jobController.finish)
  .post("/setTop", jobController.setTop)
  .post("/update", jobController.update)
  .post("/batch", jobController.batch);

export default Router;
